<?php 
global $access,$translation,$last,$BBC_CONFIG_FILE;

/*$BBC_DETAILED_STAT_FIELDS = "id, time, ext, dns, visits, os, browser, referer";
require_once('./asset/bbclone/conf/config.php');
require_once('./asset/bbclone/constants.php');
require_once('./asset/bbclone/language/ko.php');
require_once('./asset/bbclone/var/last.php');*/
//$nb_access = isset($last['traffic']) ? count($last['traffic']) : 0;
//echo $nb_access; 

?>
<!--[s] 방문경로 통계 / 방문자 IP 확인 -->
<div class="box_type02">
	<h2 class="txt">방문경로 통계 / 방문자 IP 확인</h2>
	<p class="icon"><a href="javascript:void(0);" class="icon_m04">매뉴얼</a></p>

	<div class="ipTop">
		<a href="javascript:void(0);" class="btn_arrow_prev"></a>
		<strong>2012 <span>/</span> 12</strong>
		<a href="javascript:void(0);" class="btn_arrow_next"></a>
	</div>

	<!--[s] 목록 -->
	<table cellspacing="0" summary="방문자 IP 확인" class="lines">
		<caption>방문자 IP 확인</caption>
		<thead>
		<tr>
			<th scope="col" width="94">No.</th>
			<th scope="col">IP</th>
			<th scope="col" width="140">방문시간</th>
		</tr>
		</thead>
		<tbody>
		<?php 
			for ($k = $nb_access - 1; $k >= max(0, $nb_access - 100); $k--) {
		?>
		<tr>
			<th scope="row"><p>10</p></th>
			<td class="ip">
				<div>
					<strong>77.222.55.333</strong>Search Robot, www.google.com
					<p>Direct Contact (Typing Bookmark)</p>
				</div>
			</td>
			<td><div>00시 00분 21초</div></td>
		</tr>
		<?php 
			}
		?>
		<!--<tr>
			<th scope="row"><p>9</p></th>
			<td class="ip">
				<div>
					<strong>77.222.55.333</strong>Search Robot, www.google.com
					<p>Direct Contact (Typing Bookmark)</p>
				</div>
			</td>
			<td><div>00시 00분 21초</div></td>
		</tr>
		<tr>
			<th scope="row"><p>8</p></th>
			<td class="ip">
				<div>
					<strong>77.222.55.333</strong>Search Robot, www.google.com
					<p>Direct Contact (Typing Bookmark)</p>
				</div>
			</td>
			<td><div>00시 00분 21초</div></td>
		</tr>
		<tr>
			<th scope="row"><p>7</p></th>
			<td class="ip">
				<div>
					<strong>77.222.55.333</strong>Search Robot, www.google.com
					<p>Direct Contact (Typing Bookmark)</p>
				</div>
			</td>
			<td><div>00시 00분 21초</div></td>
		</tr>
		<tr>
			<th scope="row"><p>6</p></th>
			<td class="ip">
				<div>
					<strong>77.222.55.333</strong>Search Robot, www.google.com
					<p>Direct Contact (Typing Bookmark)</p>
				</div>
			</td>
			<td><div>00시 00분 21초</div></td>
		</tr>
		<tr>
			<th scope="row"><p>5</p></th>
			<td class="ip">
				<div>
					<strong>77.222.55.333</strong>Search Robot, www.google.com
					<p>Direct Contact (Typing Bookmark)</p>
				</div>
			</td>
			<td><div>00시 00분 21초</div></td>
		</tr>
		<tr>
			<th scope="row"><p>4</p></th>
			<td class="ip">
				<div>
					<strong>77.222.55.333</strong>Search Robot, www.google.com
					<p>Direct Contact (Typing Bookmark)</p>
				</div>
			</td>
			<td><div>00시 00분 21초</div></td>
		</tr>
		<tr>
			<th scope="row"><p>3</p></th>
			<td class="ip">
				<div>
					<strong>77.222.55.333</strong>Search Robot, www.google.com
					<p>Direct Contact (Typing Bookmark)</p>
				</div>
			</td>
			<td><div>00시 00분 21초</div></td>
		</tr>
		<tr>
			<th scope="row"><p>2</p></th>
			<td class="ip">
				<div>
					<strong>77.222.55.333</strong>Search Robot, www.google.com
					<p>Direct Contact (Typing Bookmark)</p>
				</div>
			</td>
			<td><div>00시 00분 21초</div></td>
		</tr>  -->
		</tbody>
	</table>
	<!--[e] 목록 -->
	<!--[s] Tip -->
	<dl id="tip" class="mt30">
		<dt>Tip</dt>
		<dd>인터넷익스플로러의 '호환성보기' 기능을 사용중인 접속자에게 자동으로 최신버전 기준으로 사이트를 출력하도록 처리합니다.</dd>
		<dd>코딩방식에 따라 특정 버전의 브라우저에서 사이트가 깨질수 있으니, 충분한 테스트 후 기능을 설정해 주시기 바랍니다.</dd>
	</dl>
	<!--[e] Tip -->
</div>
<!--[e] 방문경로 통계 / 방문자 IP 확인 -->